﻿using Facade;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace AutofaceWebApplication1.Controllers
{
    public class HomeController : Controller
    {
        private LogHelper _log;
        public HomeController(LogHelper log)
        {
            _log = log;
        }

        // GET: Home
        public ActionResult Index()
        {
            ViewBag.Msg = _log.Get(100001);
            return View();
        }
    }
}